package com.xxq.semester.service.classmgmt;

import com.xxq.semester.entity.classmgmt.ClassStudents;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author saki
 * @since 2025-07-13
 */
public interface IClassStudentsService extends IService<ClassStudents> {
    //学生获取已加入的班级
    List<ClassStudents> getClassStudentsByClassId(Integer classId);
    //学生加入班级
    Boolean addClassStudents(ClassStudents classStudents);
    //学生退出班级
    Boolean deleteClassStudents(Integer classId,Integer studentId);
    //通过邀请码加入班级
    Boolean getInClassByInviteCode(Integer classId,Integer studentId);
}
